</section>
<script src="{SITE_URL}static/css/webapp/js/main.js"></script>
  <a style="display:none;"> <!--{if $setting['site_statcode']}--> {eval echo decode($setting['site_statcode'],'tongji');}<!--{/if}--></a>
<style>
  .ui-footer-btn .ui-tiled .current, .ui-footer-btn .ui-tiled i.current {
        color:#31b7ad;
    }
    .ui-footer li i{
        font-size: .18rem;
        color: #333333;
    }
    .ui-footer li h6{
        font-size: .13rem;
    }
</style>
<footer class="ui-footer ui-footer-btn ">
   
<div class="bottomspan">

</div>
<div class="weui-tabbar">
    <a href="{url index/default}" class="weui-tabbar__item  <!--{if $regular=='index/default'}--> current<!--{/if}--> ">

        <div class="weui-tabbar__icon">
        <!--{if $regular=='index/default'}--> <i class="icon_home_select"></i> <!--{else}--> <i class="icon_home"></i><!--{/if}-->
           
        </div>
        <p class="weui-tabbar__label">首页</p>
    </a>
    <a href="{url expert/default}" class="weui-tabbar__item  <!--{if $regular=='expert/default'}--> current <!--{/if}-->">
        <div class="weui-tabbar__icon">
            
                    <!--{if $regular=='expert/default'}--> <i class="icon_zhuanjia_select"></i> <!--{else}--> <i class="icon_zhuanjia"></i><!--{/if}-->
        </div>
        <p class="weui-tabbar__label">专家</p>
    </a>
    <a href="{url new/default}" class="weui-tabbar__item  <!--{if $regular=='new/default'}-->current<!--{/if}-->">
        <div class="weui-tabbar__icon">
        <!--{if $regular=='new/default'}--> <i class="icon_faxian_select"></i> <!--{else}--> <i class="icon_faxian"></i><!--{/if}-->
        </div>
        <p class="weui-tabbar__label">发现</p>
    </a>

    <a   {if $user['uid']==0}  href="{url user/login}" {else}  href="{url user/attention/question}"  {/if} class="weui-tabbar__item     <!--{if $regular=='user/attention'}-->current <!--{/if}-->">
        <div class="weui-tabbar__icon">
              <!--{if $regular=='user/attention'}--> <i class="icon_guanzhu_select"></i> <!--{else}--> <i class="icon_guanzhu"></i><!--{/if}-->
        </div>
        <p class="weui-tabbar__label">关注</p>
    </a>
    <a {if $user['uid']==0}  href="{url user/login}" {else} href="{url user/home}" {/if} class="weui-tabbar__item    <!--{if $regular=='user/home'}-->current<!--{/if}-->">
        <span class="weui-badge fmsg-count" style="position: absolute;top: -.4em;right: 1em;"></span>
        <div class="weui-tabbar__icon">
             <!--{if $regular=='user/home'}--> <i class="icon_my_select"></i> <!--{else}--> <i class="icon_my"></i><!--{/if}-->
        </div>
        <p class="weui-tabbar__label">我</p>
    </a>
</div>
</footer>
<script src="{SITE_URL}static/js/jquery-1.11.3.min.js"></script>
<script>$.noConflict();</script>
<script src="{SITE_URL}static/js/jquery.lazyload.min.js"></script>
<script type="text/javascript">
jQuery(".qlist img").addClass("lazy");



 jQuery("img.lazy").lazyload({effect: "fadeIn" });
</script>
<div id="to_top"><i class="fa fa-angle-up"></i></div>
<script>
$(document).ready(function(){  
    var p=0,t=0;  
    var oTop = document.getElementById("to_top");
    var screenw = document.documentElement.clientWidth || document.body.clientWidth;
    var screenh = document.documentElement.clientHeight || document.body.clientHeight;
    $(window).scroll(function(e){  
            p = $(this).scrollTop();  
            var scrolltop = document.documentElement.scrollTop || document.body.scrollTop;
            if(scrolltop<=screenh){
            	oTop.style.display="none";
            }else{
            	oTop.style.display="block";
            }
            if(t<=p){//下滚  
            	if(scrolltop>50){
            		 $(".nav_top").hide();
            	}
             
            }  
              
            else{//上滚  
            	$(".nav_top").show();
            }  
            setTimeout(function(){t = p;},0);         
    });  
    oTop.onclick = function(){
        document.documentElement.scrollTop = document.body.scrollTop =0;
      }
});  
  

</script>
</body>
</html>